package com.hoku.account;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;

/**
 * 账户服务，启用oauth2认证授权客户端/启用客户端负载均衡
 * SpringCloudApplication=[启用服务发现，启用断路器]<br>
 * @author ZHUFEIFEI
 */
@EnableOAuth2Client
@EnableFeignClients
@SpringCloudApplication
public class AccountApplication {
    public static void main(String[] args) {
        SpringApplication.run(AccountApplication.class);
    }
}
